import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

// 根据项目去获取路由
export function getRouters2(projectId) {
  return request({
    url: '/getRouters/' +  + projectId,
    method: 'get'
  })
}
